package algorithm;

/**
 * @author apple
 * @Classname BinaryTreeBuilder
 * @Description 二叉树构建类
 * @Date 2020/4/18 15:08
 */
public class BinaryTreeBuilder {

    public static BinaryTree createBinaryTree(int[] list){
        BinaryTree binaryTree = new BinaryTree();
        binaryTree=binaryTree.insertTreeNodeByInt(binaryTree,list);
        return binaryTree;
    }
}
